<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>script</title>
    <link rel="stylesheet" href="../../model/jsFn.css">
    <link rel="stylesheet" href="../../model/element.css">
</head>
<body>
<!--目录-->
<div class="catalog">
    <h2>目录</h2>
    <ul>
        <li>
            <p><a href="#element">< script  ></a></p>
        </li>
        <li>
            <p><a href="#attribute">属性</a></p>
            <ul>
                <li><p><a href="#example">实例</a></p></li>
                <li><p><a href="#optional">可选属性</a></p></li>
                <li><p><a href="#note">提示和注释</a></p></li>
            </ul>
        </li>
    </ul>
</div>
<!--标签-->
<div id="element">
    <h2>script</h2>
    <div>简介:</div>
    <p>运行js语句，实现页面的逻辑</p>
</div>
<!--属性-->
<div id="attribute">
    <h2>属性</h2>
    <div style="margin-left: 25px" id="example">
        <h3>实例:</h3>
        <!--xmp标签可以直接书写xml格式文本-->
        <xmp>
            < script>
                document.pageSize_microfilm_3 = 0;
                document.onResume(child=>{
                    ServerAgent.invoke('myVideo',{page:0}).then(res=>{
                        document.adapter('microfilm_one').setEmpty(true);
                        document.adapter('microfilm_one').refresh(res);
                        document.stop();
                    });
                });
            < /script>
        </xmp>
    </div>
    <div id="optional">
        <h3>可选属性:</h3>
        <table >
            <tbody>
                <tr>
                    <th>属性</th>
                    <th>值</th>
                    <th>描述</th>
                </tr>
                <tr>
                    <td>src</td>
                    <td>< script src="zn.index.js"/></td>
                    <td>引用的页面逻辑</td>
                </tr>

            </tbody>
        </table>
    </div>
    <div id="note">
        <h3>提示和注释:</h3>

    </div>
</div>
<div class="author"><p>by-姜进</p></div>
</body>
</html>